package logging;

import java.util.ArrayList;
import java.util.List;

public class TestingPeer {
	private int parent;
	private int id;
	private int capacity;
	private ArrayList<TestingPeer> listOfChildren;
	
	public TestingPeer(int id, int parent, int capacity, List<TestingPeer> listOfChildren) {
		this.id = id;
		this.parent = parent;
		this.capacity = capacity;
		this.listOfChildren = (ArrayList<TestingPeer>) listOfChildren;
	}

	public int getParent() {
		return parent;
	}

	public int getId() {
		return id;
	}

	public int getCapacity() {
		return capacity;
	}
	
	public ArrayList<TestingPeer> getChildren(){
		return listOfChildren;
	}
}
